﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="AphroditePiano.Indication" xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows" xmlns:AphroditePiano_Controls="clr-namespace:AphroditePiano.Controls">

	<Grid x:Name="LayoutRoot" Width="500">
		<vsm:VisualStateManager.VisualStateGroups>
			<vsm:VisualStateGroup x:Name="VisualStateGroup">
				<vsm:VisualStateGroup.Transitions>
					<vsm:VisualTransition GeneratedDuration="00:00:00.2000000"/>
				</vsm:VisualStateGroup.Transitions>
				<vsm:VisualState x:Name="Start">
					<Storyboard>
						<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="grid" Storyboard.TargetProperty="(UIElement.Visibility)">
							<DiscreteObjectKeyFrame KeyTime="00:00:00">
								<DiscreteObjectKeyFrame.Value>
									<Visibility>Visible</Visibility>
								</DiscreteObjectKeyFrame.Value>
							</DiscreteObjectKeyFrame>
						</ObjectAnimationUsingKeyFrames>
						<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="BtnStart" Storyboard.TargetProperty="(UIElement.Visibility)">
							<DiscreteObjectKeyFrame KeyTime="00:00:00">
								<DiscreteObjectKeyFrame.Value>
									<Visibility>Collapsed</Visibility>
								</DiscreteObjectKeyFrame.Value>
							</DiscreteObjectKeyFrame>
						</ObjectAnimationUsingKeyFrames>
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="Stop"/>
			</vsm:VisualStateGroup>
		</vsm:VisualStateManager.VisualStateGroups>
		<Grid Height="Auto" HorizontalAlignment="Stretch" Margin="8,0,8,0" VerticalAlignment="Stretch" Width="Auto" Visibility="Visible" x:Name="grid">
			<Border Padding="3,3,3,3" BorderBrush="#CC000000" CornerRadius="3,3,3,3" BorderThickness="3,3,3,3">
				<Border.Background>
					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
						<GradientStop Color="#CC000000"/>
						<GradientStop Color="#CC0E0E0E" Offset="1"/>
					</LinearGradientBrush>
				</Border.Background>
				<Grid Height="25" x:Name="xGrid">
					<Rectangle HorizontalAlignment="Left" Width="25" Fill="#FF494949" Stroke="#FF333333" Height="25" VerticalAlignment="Top"/>
				</Grid>
			</Border>
		</Grid>
		<Button Height="37" Margin="8,0,8,0" x:Name="BtnStart" Style="{StaticResource StartButton}" VerticalAlignment="Top" FontSize="12" Content="开始"/>
	</Grid>
</UserControl>